Interop Forms Toolkit
How To Call an InteropForm Intialize Method

Calling Parameterized Constructors

Parameterized constructors are not supported in Visual Basic 6.0.  However, the Visual Basic 6.0 InteropForm class will expose the .NET parameterized constructors as Initialize methods.  The Initialize method must be called immediately after the New operator has been used to ensure proper behavior.  If an InteropForm has multiple constructors, multiple Initialize methods will be available.

 

    Dim hello As New HelloWorldForm
    hello.Initialize "Hello from Visual Basic 6.0"
    hello.Show vbModal